let serve = require('./webpack.dev');
// 压缩js
serve.mode = 'production';

let OptimizeCssAssetsWebpackPlugin = require('optimize-css-assets-webpack-plugin')
// 压缩css
serve.plugins.push(new OptimizeCssAssetsWebpackPlugin())

module.exports = serve